html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    max-width: 100%;   
  }

.example::-webkit-scrollbar {
    display: none;
  }

.index {
    color: rgb(0, 0, 0);
    background-color: rgb(230,230,230);
}

.cursor{
 cursor: url("curseur-02.png") 36 0, auto;
}

.accueil-index {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: 100svh;
}

.wrapper-padded {
  padding-left: 12%;
  padding-right: 12%;
}

.bienvenue-texte {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  color: white;
  line-height: 100%;
  z-index: 2;
  align-self: end;
}

@media (min-width:1000px) {
    .bienvenue-texte {
    font-size: 125px;
}
}

.propos-titre {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  color: white;
  line-height: 100%;
  z-index: 2;
  align-self: end;
}

@media (min-width:1000px) {
    .propos-titre {
    font-size: 75px;
}
}

.propos-texte {
  color: white;
  padding: 10px 12% 30px 12%;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  line-height: 120%;
}

@media (min-width:1000px) {
  .propos-texte {
  padding: 10px 20px 30px 50%;
}
}

.bienvenue-wrapper {
  display: flex;
  align-items: end;
  padding: 12%
  
}

@media (min-width:1000px) {
    .bienvenue-wrapper {
    padding: 20px;
}
}

.image-index {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%);
  z-index: 1;
}

.image-propos {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: auto;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  display: block;
}

@media (max-width: 1000px) {
  .image-propos {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-line {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: white;
}

.nav-line-black {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: black;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
  padding-bottom: 20px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  color: black;
}

@media (min-width:1000px) {
    .footer{
        margin: 20px;
    }
}

.logo img {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
  content: url("ICONES/loader.gif");
}

.logo:hover .logo-noir-img {
  content: url("ICONES/loader-noir.gif");
}

.nav {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
}

@media (min-width:1000px) {
    .nav {
    font-size: 18px;
}
}

.nav a {
  position: relative;
  text-decoration: none;
  color: white;
  font-family: 'Epilogue', sans-serif;
  margin-left: 20px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-gauche a.active::after {
  transform: scaleX(1);
}

.nav-noir {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
}

@media (min-width:1000px) {
    .nav-noir {
    font-size: 18px;
}
}

.nav-noir a {
  position: relative;
  text-decoration: none;
  color: black;
  font-family: 'Epilogue', sans-serif;
  margin-left: 20px;
}

.nav-noir a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-noir a:hover::after {
  transform: scaleX(1);
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 80px;
  padding: 10px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: transparent;
  box-sizing: border-box;

  z-index: 100;

  transform: translateY(0);
  transition:
    transform 0.4s ease,
    color 0.3s ease,
    background-color 0.3s ease;
}

#navbar .nav a {
  color: white;
}

#navbar .nav a::after {
  background-color: white;
}

#navbar .nav-line {
  background-color: white;
  transition: background-color 0.3s ease;
}

#navbar.noir {
  color: black;
}

#navbar.noir .nav a {
  color: black;
}

#navbar.noir .nav a::after {
  background-color: black;
}

#navbar.noir .nav-line {
  background-color: black;
  transition: background-color 0.3s ease;
}

.projets-index {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "filtres"
    "titre";
  gap: 20px;
  padding: 5rem 12% 5rem 12%;
}

.projets-autres {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 5rem 12% 5rem 12%;
}

.nav-gauche {
  display: flex;
  gap: 40px;
  align-items: baseline;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  line-height: 120%;
  grid-area: titre;
}

@media (min-width:1000px) {
    .nav-gauche {
    font-size: 18px;
}
}

.nav-gauche-autres {
  display: flex;
  gap: 40px;
  align-items: baseline;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  line-height: 120%;
}

.titre-index{
  display: flex;
  align-items: baseline;
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  grid-area: filtres;
}

@media (min-width: 1000px) {
  .titre-index{
  font-size: 75px;
}
}

@media (min-width: 1000px) {
  .projets-index {
    align-items: baseline;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "titre filtres";
    gap: 20px;
    padding: 10rem 12% 5rem 12%;
  }
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  display: block;
  transition: transform 0.3s ease;
}

.item:hover img {
  transform: scale(0.95);
}

.item.hidden {
  display: none;
}

.item.visible {
  opacity: 1;
  transform: scale(1);
}

.nav-gauche a {
  position: relative;
  text-decoration: none;
  color: black;
  font-family: 'Epilogue', sans-serif;
}

.nav-gauche a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-gauche a:hover::after {
  transform: scaleX(1);
}

.autres-section {
  padding: 5rem 20px 10rem 20px;
}

.autres-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.autres-container::-webkit-scrollbar {
  display: none; 
}

.autres-track {
  display: flex;
  gap: 20px;
  align-items: center;
}

.autres-item {
  flex: none;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.autres-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.autres-wrapper {
  position: relative;
}

.fleche-scroll {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: auto;
  z-index: 5;
}

.titre-autres {
  grid-column-end: -1;
  font-family: 'Parkinsans', sans-serif;
  font-weight: 500;
  font-size: 50px;
  display: flex;
  color: black;
}

@media (min-width: 1000px) {
    .titre-autres {
    font-size: 75px;
}
}


.titre-autres a {
  position: relative;
  text-decoration: none;
  color: black;
}

.titre-autres a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.titre-autres a:hover::after {
  transform: scaleX(1);
}

.icone {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}

.icone img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.titre{
    font-family: 'Epilogue', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.desc {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  line-height: 120%;
  color: rgb(0, 0, 0);
  font-size: 15px;
  text-align: left;

  position: static;
  width: 100%;
  transform: none;
  margin-bottom: 20px;
}

.page-projet {
  color: rgb(0, 0, 0);
  background-color: rgb(230,230,230);
  display: block;
  margin: 20px;
  gap: 20px;
  padding-top: 7rem;
}

.page-projet img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.page-projet iframe {
  width: 100%;
  height: 50vh;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

@media (min-width: 1000px) {
  .page-projet {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-top: 5rem;
  }

  .desc {
    position: fixed;
    left: 20px;
    width: 25%;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
  }

  .page-projet img {
    grid-column: 2 / 4;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
  }
  .page-projet iframe {
    grid-column: 2 / 4;
    width: 100%;
    height: 60vh;
    object-fit: contain;
    margin-bottom: 0;
  }
}

.button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button {
  font-family: 'Epilogue', sans-serif;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  color: rgb(230, 230, 230);
  font-size: 15px;
  padding: 10px 24px;
  background: #000000;
  cursor: pointer;
  border-radius: 20px;
  user-select: none;
}

@media (min-width: 1000px) {
.button {
  font-size: 18px;
}
}

.button span:first-child {
  position: relative;
  z-index: 150;
  transition: transform 450ms cubic-bezier(0.48, 0, 0.12, 1), opacity 350ms;
  white-space: nowrap;
  border-color: rgb(230, 230, 230);
}

.button span:last-child {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 140%);
  white-space: nowrap;
  opacity: 0;
  z-index: 300;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1), opacity 600ms;
  color: #000000;
  line-height: 1;
  text-align: center;
}

.button:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fafafa;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 100;
}

.button:hover:after {
  transform: skewY(9.3deg) scaleY(2);
}

.button:hover span:first-child {
  transform: translateY(-120%);
  opacity: 0;
}

.button:hover span:last-child {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.button-clair {
  font-family: 'Epilogue', sans-serif;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  color: #000000;
  font-size: 15px;
  padding: 10px 24px;
  background: white;
  cursor: pointer;
  border-radius: 20px;
  user-select: none;
}

@media (min-width: 1000px) {
  .button-clair {
  font-size: 18px;
}
}

.button-clair span:first-child {
  position: relative;
  z-index: 150;
  transition: transform 450ms cubic-bezier(0.48, 0, 0.12, 1), opacity 350ms;
  white-space: nowrap;
  border-color: #000000;
}

.button-clair span:last-child {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 140%);
  white-space: nowrap;
  opacity: 0;
  z-index: 300;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1), opacity 600ms;
  color: white;
  line-height: 1;
  text-align: center;
}

.button-clair:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 100;
}

.button-clair:hover:after {
  transform: skewY(9.3deg) scaleY(2);
}

.button-clair:hover span:first-child {
  transform: translateY(-120%);
  opacity: 0;
}

.button-clair:hover span:last-child {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.seo-description,
body > h1 {
  position: absolute;
  left: -9999px;
}